package com.lagou;/**
 * @title:
 * @package com.lagou
 * @description:
 * @author: 陶肖寅
 * @date: 2020-01-14 10:35
 * @version V1.0
 */

import com.lagou.edu.service.TransferService;
import com.lagou.edu.support.ClassPathXmlApplicationContext;
import org.junit.Test;

/**
 * @ClassName TestApp
 * @Description TODO
 * @Author 陶肖寅
 * @Date : 2020-01-14 10:35
 * @Version 1.0
 **/
public class test {

    @Test
    public void addTest() throws Exception {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("com.lagou.edu");
        TransferService transferService = (TransferService) app.getBean("transferServiceImpl");
        transferService.test();
    }
}
